home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Web Star/List Star - Eve…he Ultimate Internet Site
/
StarNine Internet Pubisher (Web Star and List Star)(StarNine)(1995).iso
/
Extras
/
Scripting Solutions
/
Script Tools 1.3.2
/
Examples
/
Move File
< prev
next >
Wrap
Text File
|
1993-09-10
|
434b
|
11 lines
--
-- Find out if the user wants to move a file or a folder
--
if button returned of (display dialog "Move a file or a folder?" buttons {"File", "Folder"}) = "File" then
move file (choose file with prompt "Pick a file to move:") to (¬
choose folder with prompt "Pick a destination folder:")
else
move file (choose folder with prompt "Pick a folder to move:") to (¬
choose folder with prompt "Pick a destination folder:")
end if